package com.gz.service;

import com.gz.entity.Dto.UserDto;
import com.gz.entity.User;
import com.baomidou.mybatisplus.extension.service.IService;
import com.gz.entity.Vo.UserVo;
import org.springframework.http.ResponseEntity;

/**
* @author 龙龙与贝儿
* @description 针对表【t_user】的数据库操作Service
* @createDate 2025-05-15 10:16:55
*/
public interface UserService extends IService<User> {

    ResponseEntity doLogin(UserDto userDto);
    UserVo findUserById(Long id);
    User findUserByMobile(String mobile);

    boolean isEmailExist(String email);

    boolean isAccountExist(String account);
    boolean isMobileExist(String mobile);
    User register(User user);
}
